.tr-entrust{margin: 2rem auto;}

.tr-buy .am-form-group{margin: .5rem 0; line-height: 28px;}
.tr-buy .am-form-group .am-form-label{font-size: 1.4rem; text-align: right; padding-right: 1rem;}
.tr-buy .am-form-group .am-form-field{font-size: 1.2rem; width: 66%;}
.tr-buy .tr-select-part label{font-weight: normal; line-height: 32px; margin: 0 10px;}
.tr-stock-search{position: relative;}
.tr-stock-table{width:66%; display: none;position: absolute; top: 27px; left: 0;z-index: 99;background: #fff;font-size: 12px;}
.tr-stock-table .am-table{border-left: 1px solid #ddd;}
.tr-stock-table .am-table>thead>tr>th{font-weight: normal; background: #f3f3f3;padding: 1px;border-bottom: none;}
.tr-stock-table .am-table>tbody>tr>td{padding: 1px;border:none; cursor: pointer;}
.tr-stock-table .am-table>tbody>tr:first-child td{background-color: #f1f5fC;}
.tr-stock-table .am-table-hover>tbody>tr:hover>td{background-color: #87cefa;}

.tr-stock-state .am-panel-hd{height: 45px; line-height: 30px;}
.tr-stock-state .am-panel-hd .tr-stock-name{font-size: 1.6rem;color: #000;}
.tr-stock-state .am-panel-hd .tr-stock-price{font-size: 2.2rem;color: red;}
.tr-stock-state .am-panel-hd .tr-stock-increase{display: inline-block; vertical-align: top;}
.tr-stock-state .am-panel-hd .tr-stock-increase p{height: 15px; line-height: 15px;text-align: left;}
.tr-stock-state .tr-stock-entrust{border-right: 1px solid #eee;}
.tr-stock-state .tr-stock-entrust hr{margin: .6rem 0;}
.tr-stock-state .am-table{margin: 0;}
.tr-stock-state .am-table>tbody>tr>td{border: none; padding: 0 .7rem;}
.tr-stock-state .am-table>tbody>tr>td.price{color: red;}
.tr-stock-state .tr-stock-trade li{line-height: 2rem;}

.tr-tabs{background: #fff;}
.tr-tabs .am-tabs-nav li a{font-size: 16px;}
.tr-tabs .am-nav>li>a:focus, .tr-tabs .am-nav>li>a:hover{background-color: #39f; color: #fff; border-color: #39f;}
.tr-tabs .am-nav-tabs>li.am-active>a, .tr-tabs .am-nav-tabs>li.am-active>a:focus, .tr-tabs .am-nav-tabs>li.am-active>a:hover{background-color: #39f; color: #fff; border-color: #39f;}
.tr-tabs .am-nav-tabs{border-color: #39f;}
.tr-tabs .am-tabs-bd{border: none;}
.tr-tabs .am-table>tbody>tr>td{line-height: 3rem;}
.tr-tabs .am-table .am-btn{padding: 0; line-height: inherit; font-size: 1.4rem;}

@media only screen and (min-width: 641px) {
    .am-offcanvas {display: block;position: static;background: #fff;}
    .am-offcanvas-bar {position: static;width: auto;background: none;-webkit-transform: translate3d(0, 0, 0);-ms-transform: translate3d(0, 0, 0);transform: translate3d(0, 0, 0);border-right: 1px solid #eee;}
    .am-offcanvas-bar:after {content: none;}
    .am-offcanvas-bar .am-nav>li>a {font-size: 1.6rem;}
    .am-offcanvas-bar .am-nav>li.am-active>a {background: #f8f8f8;color: #1E6BC5;}
}

@media only screen and (max-width: 640px) {
    .am-offcanvas-bar .am-nav>li>a {color:#ccc;border-radius: 0;border-top: 1px solid rgba(0,0,0,.3);box-shadow: inset 0 1px 0 rgba(255,255,255,.05)}
    .am-offcanvas-bar .am-nav>li>a:hover {background: #1a1a1a;color: #fff}
    .am-offcanvas-bar .am-nav>li.am-nav-header {color: #777;background: #404040;box-shadow: inset 0 1px 0 rgba(255,255,255,.05);text-shadow: 0 1px 0 rgba(0,0,0,.5);border-top: 1px solid rgba(0,0,0,.3);font-weight: 400;font-size: 75%}
    .am-offcanvas-bar .am-nav>li.am-active>a {background: #1a1a1a;color: #fff;box-shadow: inset 0 1px 3px rgba(0,0,0,.3)}
    .am-offcanvas-bar .am-nav>li+li {margin-top: 0;}
    .tr-left-sidebar{position: fixed; right: 1rem; bottom: 1rem; z-index: 999;}
}